﻿using System;
using System.IO;

namespace picomp
{
    internal class Program
    {
        private static void Main(string[] args)
        {
            var inFolder = Path.Combine(Utilities.AssemblyDirectory(), "in");
            var outFolder = Path.Combine(Utilities.AssemblyDirectory(), "out");

            var recce = new ZipRecce();
            recce.ScanFolder(inFolder);
            foreach (var zipFile in recce.ZipFiles)
            {
                var zread = new Transformer(zipFile, outFolder);
                zread.Transform();
                Console.WriteLine("Transformed {0}", Path.GetFileName(zipFile));
            }
        }
    }
}